//
//  CommonListCoordinator.h
//  BaseProject
//
//  Created by itzhaolei on 2024/5/15.
//

#import "IGListAdapter.h"
#import "CoordinatorDataSource.h"
#import "ListCoordinatorDelegate.h"

NS_ASSUME_NONNULL_BEGIN

/// 协调器
/// 帮助适配器权利下发
@interface CommonListCoordinator : NSObject<ListCoordinatorDelegate>

/// 适配器
@property (nonatomic, strong, readonly) IGListAdapter *adapter;

/// 初始化
/// - Parameter delegate: 需要实现适配器代理函数的控制器
- (instancetype)initWithDelegate:(__weak UIViewController <CoordinatorDataSource> *)delegate;

@end

NS_ASSUME_NONNULL_END
